home *** CD-ROM | disk | FTP | other *** search
/ Programmer Power Tools / Programmer Power Tools.iso / progjrn / pj_7_6.arc / WINDEV.ARC / WNTERM < prev    next >
Text File  |  1989-07-30  |  1KB  |  49 lines

  1. # WNTERM - A Simple Windows Terminal Program
  2. #
  3. # Written by William S. Hall
  4. # 3665  Benton Street, #66
  5. # Santa Clara, CA 95051
  6. #
  7.  
  8. # compile macro
  9. cp=cl -c -AM -Gsw -Os -Zpe -W3 -I$(ttydir) -DWINDOWS
  10.  
  11. # location of tty window code
  12. ttydir=d:\pwcommon\ttycls
  13.  
  14. # libraries
  15. libs=mlibw mlibcaw
  16.  
  17. #
  18. # make the .RES file
  19. #
  20. wnterm.res : wnterm.rc wnterm.h
  21.     rc -r wnterm.rc
  22.  
  23. #
  24. # make the .OBJ files
  25. #
  26. wnterm.obj : wnterm.c wnterm.h $(ttydir)\ttycls.h
  27.     $(cp) -NT _TERMRES wnterm.c
  28.  
  29. wntfns.obj : wntfns.c wnterm.h $(ttydir)\ttycls.h
  30.     $(cp) -NT _TERMRES wntfns.c
  31.  
  32. wntint.obj : wntint.c wnterm.h $(ttydir)\ttycls.h
  33.     $(cp) -NT _TERMINT wntint.c
  34.  
  35. wntmsc.obj : wntmsc.c wnterm.h $(ttydir)\ttycls.h
  36.     $(cp) -NT _TERMMSC wntmsc.c
  37.  
  38. ttycls.obj : $(ttydir)\ttycls.c $(ttydir)\ttycls.h
  39.     $(cp) -NT _TERMRES $(ttydir)\ttycls.c
  40.  
  41. #
  42. # create the .EXE file, add resources, and make a map file
  43. #
  44. wnterm.exe : wnterm.def wnterm.res \
  45.             wnterm.obj wntfns.obj wntint.obj wntmsc.obj ttycls.obj
  46.     link4 wnterm+wntfns+wntint+wntmsc+ttycls,/align:16,/map,$(libs)/NOD,wnterm
  47.     rc wnterm.res
  48.     mapsym wnterm
  49.